<template>
  <div>
    <slot name="header" />
    <startTable slot="chart"></startTable>
    <chart v-if="action !== 'create'" slot="chart" />
    <startSubmit
      name="submit"
      :submit-type.sync="submitType"
      :default-form="form"
      slot="submit"
      v-if="action === 'create' || action === 'todo' || canWithdraw"
      @submit="submitMap"
    ></startSubmit>
  </div>
</template>
<script>
import startTable from "../../processHost/platform/pc/startTable.vue";
import Chart from "../../processHost/platform/pc/chart.vue";
import startSubmit from "../../processHost/platform/pc/startSubmit";
export default {
  inject: ["action"],
  components: { Chart, startTable, startSubmit },
};
</script>